package com.undsf.despot.templates;

import com.undsf.despot.modles.Item;

import java.util.List;

/**
 * Created by Arathi on 2016/10/4.
 */
public class ItemTemplateBase {
    public static final String ITEM_TYPE_WEAPON_STRING = "weapon";  // 武器
    public static final String ITEM_TYPE_WEAPON_ARMOR = "armor";    // 装甲
    public static final String ITEM_TYPE_WEAPON_SHIELD = "shield";  // 盾牌
    public static final String ITEM_TYPE_WEAPON_NORMAL = "normal";  // 普通道具

    public Integer id;
    public String name;
    public String cnname;
    public List<String> skills;
    public String description;
    public Integer property;  // 主属性
    public String type;  // 物品分类
    public Integer value;  // 出售价格

    public Item create() {
        Item item = new Item();
        return item;
    }

    @Override
    public String toString() {
        return id+" "+name;
    }
}
